home *** CD-ROM | disk | FTP | other *** search
/ CDUTIL 13 / CDUTIL #13 Julio 1995.iso / windows / amipro3 / macros.cmz / WINAPPS.SMM < prev    next >
Encoding:
INI File  |  1992-11-18  |  4.2 KB  |  413 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     _default.sty
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     PostScript Printer
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Men<\z>: cambia a otro programa en ejecuci<\s>n.
  19.     Lotus Word Processing Division
  20.     Beginner
  21.     Menus, Active Apps
  22.     AutoRun
  23.     719604515
  24.     31
  25.     673578583
  26.     187
  27.     1
  28.     0
  29.     0
  30.     0
  31.     0
  32.     Addmenuitem, Scan For Active Apps, Simple Arrays
  33.     
  34.     Peyton McManus
  35.     
  36.     
  37.     
  38.     0
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [tag]
  54.     Est<\a>ndar
  55.     12
  56.     [fnt]
  57.         Tms Rmn
  58.         240
  59.         0
  60.         49152
  61.     [algn]
  62.         1
  63.         1
  64.         0
  65.         0
  66.         0
  67.     [spc]
  68.         17
  69.         0
  70.         1
  71.         0
  72.         0
  73.         1
  74.         100
  75.     [brk]
  76.         4
  77.     [line]
  78.         8
  79.         0
  80.         1
  81.         0
  82.         1
  83.         1
  84.         1
  85.         10
  86.         10
  87.         1
  88.     [spec]
  89.         0
  90.         0
  91.         
  92.         0
  93.         1
  94.         1
  95.         0
  96.         0
  97.         0
  98.         0
  99.     [nfmt]
  100.         24
  101.         1
  102.         2
  103.         ,
  104.         .
  105.         Pts
  106.     Est<\a>ndar
  107.     0
  108.     0
  109. [lay]
  110.     1
  111.     513
  112.     [rght]
  113.         15840
  114.         12240
  115.         1
  116.         720
  117.         1440
  118.         1
  119.         1800
  120.         1440
  121.         2
  122.         1
  123.         0
  124.         1
  125.         1
  126.         2
  127.         1
  128.         720
  129.         10800
  130.         5
  131.         1
  132.         720
  133.         1
  134.         1440
  135.         1
  136.         2880
  137.         1
  138.         4320
  139.         1
  140.         5760
  141.     [hrght]
  142.     [lyfrm]
  143.         1
  144.         11200
  145.         0
  146.         0
  147.         12240
  148.         1800
  149.         0
  150.         1
  151.         3
  152.         1 0 0 0 0 0 0
  153.         0
  154.         0
  155.         1
  156.     [frmlay]
  157.         1800
  158.         12240
  159.         1
  160.         1440
  161.         72
  162.         1
  163.         360
  164.         1440
  165.         0
  166.         1
  167.         0
  168.         1
  169.         1
  170.         0
  171.         1
  172.         1440
  173.         10800
  174.         0
  175.     [txt]
  176.  
  177. Peyton McManus
  178.  
  179. Winapps   <[>Updates menu with currently running Apps]
  180.  
  181. 05/08/92
  182.  
  183. >
  184.     [frght]
  185.     [lyfrm]
  186.         1
  187.         13248
  188.         0
  189.         14400
  190.         12240
  191.         15840
  192.         0
  193.         1
  194.         3
  195.         1 0 0 0 0 0 0
  196.         0
  197.         0
  198.         2
  199.     [frmlay]
  200.         15840
  201.         12240
  202.         1
  203.         1440
  204.         360
  205.         1
  206.         14472
  207.         1440
  208.         0
  209.         1
  210.         0
  211.         1
  212.         1
  213.         0
  214.         1
  215.         1440
  216.         10800
  217.         0
  218.     [txt]
  219. >
  220. [elay]
  221. [l1]
  222.     0
  223. [pg]
  224.     1
  225.     46 0 12 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  226. [edoc]
  227. @Function@<:#284,9025>Declare AppMenu()
  228.  
  229. @Function@<:#284,9025>
  230.  
  231. @Function@<:#284,9025>Function appmenu()
  232.  
  233. <:#284,9025>IF IsNewWave()
  234.  
  235. <:#284,9025>    Message("Macro no disponible si se ejecuta en HP NewWave.")
  236.  
  237. <:#284,9025>    Exit Function
  238.  
  239. <:#284,9025>ENDIF
  240.  
  241. <:#284,9025>Count=AppGetAppCount()
  242.  
  243. <:#284,9025>Barid=1
  244.  
  245. <:#284,9025>MenuName="&Aplicaciones"
  246.  
  247. <:#284,9025>Hourglass(on)
  248.  
  249. <:#284,9025>Deletemenu(Barid, MenuName)
  250.  
  251. <:#284,9025>AddMenu(Barid, MenuName)
  252.  
  253. <:#284,9025>Dim Apps(Count)
  254.  
  255. <:#284,9025>AppGetAppNames(&Apps)
  256.  
  257. <:#284,9025>Mac=GetRunningMacroFile$()
  258.  
  259. <:#284,9025>If Count<;>25
  260.  
  261. <:#284,9025>    Count=25
  262.  
  263. <:#284,9025>Endif
  264.  
  265. <:#284,9025>OpenBracket = Chr$(91)
  266.  
  267. <:#284,9025>For i=1 to Count
  268.  
  269. <:#284,9025>    ap = apps(I)
  270.  
  271. <:#284,9025>    Ap=Strfield$(ap,1,OpenBracket)
  272.  
  273. <:#284,9025>    If Ap !="Srvr"
  274.  
  275. <:#284,9025>        rap = """{ap}"""
  276.  
  277. <:#284,9025>        AddMenuItem(BarId,MenuName,"&{ap}","{mac}!rest({rap})")
  278.  
  279. <:#284,9025>    Endif
  280.  
  281. <:#284,9025>Next
  282.  
  283. <:#284,9025>AddMenuItem(1,Menuname,"-","")
  284.  
  285. addmenuitem(1, menuname, "A&ctualizar", "{mac}!update")
  286.  
  287. AddMenuItem(1,Menuname,"&Salir","{mac}!quit")
  288.  
  289. <:#284,9025>Hourglass(off)
  290.  
  291. <:#284,9025>End Function
  292.  
  293. <:#284,9025>
  294.  
  295. @Function@<:#284,9025>function update()
  296.  
  297. <:#284,9025>appmenu()
  298.  
  299. <:#284,9025>end function
  300.  
  301. <:#284,9025>
  302.  
  303. @Function@<:#284,9025>function rest(ap)
  304.  
  305. <:#284,9025>apprestore(ap)
  306.  
  307. <:#284,9025>activateapp(ap)
  308.  
  309. <:#284,9025>end function
  310.  
  311. <:#284,9025>
  312.  
  313. @Function@<:#284,9025>Function Quit()
  314.  
  315. Deletemenu(1,"&Aplicaciones")
  316.  
  317. <:#284,9025>End Function
  318.  
  319. >
  320.  
  321. [Embedded]
  322. 00003373
  323. >
  324. [macsum] 4
  325. appmenu 0 0 10 2
  326. update 661 0 1 34
  327. rest 696 1 1 38
  328. Quit 743 0 1 43
  329. [macse]
  330. 14 appmenu
  331. 0 1317
  332. 13
  333. 11 00000105
  334. 0 3 "Macro no disponible si se ejecuta en HP NewWave."
  335. 6 0
  336. 15
  337. 9
  338. 0 1033
  339. 13
  340. 8 1
  341. 5 1
  342. 8 2
  343. 7 "&Aplicaciones"
  344. 8 3
  345. 0 296 1
  346. 0 521 "{2}" "{3}"
  347. 0 515 "{2}" "{3}"
  348. 6 1
  349. 21 4 [X]
  350. 0 1034 &4
  351. 0 802
  352. 13
  353. 8 5
  354. 6 1
  355. 5 25
  356. 18 3
  357. 11 00000286
  358. 5 25
  359. 8 1
  360. 0 39 91
  361. 13
  362. 8 6
  363. 5 1
  364. 8 7
  365. 6 1
  366. 6 7
  367. 18 2
  368. 12 00000389
  369. 10 00000541
  370. 5 1
  371. 6 7
  372. 3 0
  373. 8 7
  374. 10 00000314
  375. 6 7
  376. 22 4
  377. 8 8
  378. 0 20 "{8}" 1 "{6}"
  379. 13
  380. 8 8
  381. 6 8
  382. 7 "Srvr"
  383. 18 1
  384. 11 00000528
  385. 7 """{8}"""
  386. 8 9
  387. 0 516 "{2}" "{3}" "&{8}" "{5}!rest({9})"
  388. 10 00000356
  389. 0 516 1 "{3}" "-" ""
  390. 0 516 1 "{3}" "A&ctualizar" "{5}!update"
  391. 0 516 1 "{3}" "&Salir" "{5}!quit"
  392. 0 296 0
  393. 6 0
  394. 15
  395. 9
  396. 14 update
  397. 16 appmenu
  398. 6 0
  399. 15
  400. 9
  401. 14 rest
  402. 0 1031 "{0}"
  403. 0 38 "{0}"
  404. 6 1
  405. 15
  406. 9
  407. 14 Quit
  408. 0 521 1 "&Aplicaciones"
  409. 6 0
  410. 15
  411. 9
  412. 00003398
  413.